package auth

type RolePermission struct {
	ID           int64 `gorm:"primaryKey"`
	RoleID       int64 `gorm:"column:role_id;not null"`
	PermissionID int64 `gorm:"column:permission_id;not null"`
}

// TableName 设置RoleMenu表名
func (rp *RolePermission) TableName() string {
	return "role_permission"
}
